VERSION 5.00
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form frmVacacionesGozadas 
   BackColor       =   &H80000013&
   BorderStyle     =   5  'Sizable ToolWindow
   ClientHeight    =   2220
   ClientLeft      =   60
   ClientTop       =   60
   ClientWidth     =   6630
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Moveable        =   0   'False
   ScaleHeight     =   2220
   ScaleWidth      =   6630
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin MSDataListLib.DataCombo cboAsesor 
      Bindings        =   "frmVacacionesGozadas.frx":0000
      Height          =   360
      Left            =   360
      TabIndex        =   0
      Top             =   1440
      Width           =   4695
      _ExtentX        =   8281
      _ExtentY        =   635
      _Version        =   393216
      Appearance      =   0
      BackColor       =   12648447
      ForeColor       =   128
      ListField       =   "nombres"
      BoundColumn     =   "codigo_empleado"
      Text            =   ""
      Object.DataMember      =   "Nombres_EmpleadosN"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00C00000&
      X1              =   120
      X2              =   6120
      Y1              =   720
      Y2              =   720
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "Empleado"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   255
      Left            =   360
      TabIndex        =   2
      Top             =   1200
      Width           =   1455
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Goze de Vacaciones Segmentadas"
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   240
      TabIndex        =   1
      Top             =   240
      Width           =   5535
   End
   Begin VB.Image cmdSalir 
      Height          =   480
      Left            =   5880
      MouseIcon       =   "frmVacacionesGozadas.frx":0011
      MousePointer    =   99  'Custom
      Picture         =   "frmVacacionesGozadas.frx":031B
      ToolTipText     =   "Salir de esta pantalla"
      Top             =   1320
      Width           =   480
   End
   Begin VB.Image cmdImprimir 
      Height          =   480
      Left            =   5280
      MouseIcon       =   "frmVacacionesGozadas.frx":0625
      MousePointer    =   99  'Custom
      Picture         =   "frmVacacionesGozadas.frx":092F
      Top             =   1320
      Width           =   480
   End
End
Attribute VB_Name = "frmVacacionesGozadas"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdImprimir_Click()
          RutaReportes = DE.rsGENCParametros.Fields("RUTA_REPORTES")
    
    If Not cboAsesor.MatchedWithList Then
        MsgBox "Debe seleccionar un empleado"
        Exit Sub
    End If



        MDI.reporte.StoredProcParam(0) = cboAsesor.BoundText
        Imprimir RutaReportes & "vacacionesgozadas.rpt", "", "", "", ""
End Sub

Private Sub cmdSalir_Click()
    Unload Me
End Sub
